package com.pets.service;

import com.pets.entity.Animal;
import com.pets.qo.AnimalAddQO;
import com.pets.qo.KnowledgeAddQO;
import com.pets.util.PageData;
import com.pets.util.Result;
import com.pets.vo.AnimalVO;
import com.pets.vo.KnowledgesByPageVO;

import java.util.List;


public interface AnimalService {
    //分页查询
    PageData<AnimalVO> selectAnimalsByPage(int page, int pageSize);
    //百科知识的添加
    Result AnimalAdd(AnimalAddQO animalAddQO);
    //单条百科知识的显示
    AnimalVO show(int aId);

    /**
     * 查询机构发布的流浪动物记录
     * @param uId
     * @return
     */
    List<Animal> getUserAnimal(int uId);
}
